package com.azxc.rapid.plus.user.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;

/**
 * @author linym
 * @className: WestoneVersion
 * @description:
 * @date 2023/1/30 12:17
 * @version：1.0
 */
@Data
@TableName("rapid_westone_sectors")
@ApiModel(value = "WestoneSectors对象", description = "卫士通-企业和版本号表")
public class WestoneSectors {

	@NotBlank
	@ApiModelProperty(value = "主体身份代码")
	private String  id;


	@ApiModelProperty(value = "集团id")
	private String	groupEnterpriseId;


	@ApiModelProperty(value = "组织名称")
	private String	name;

	@ApiModelProperty(value = "组织名称简写")
	private String	shortName;

	@ApiModelProperty(value = "父节点id 当parent_id为-1时，表明是顶层节点")
	private String parentId;

	@ApiModelProperty(value = "组织id")
	private String	enterpriseId;

	@ApiModelProperty(value = "类型 0: 部门; 1: 组织;2: 集团企业")
	private String	enterpriseFlag;

	@ApiModelProperty(value = "显示顺序")
	private String	showOrder;
	@ApiModelProperty(value = "部门显示路径，从根部门(不包括组织节点)开始，如“总部->人力资源”")
	private String	showPath ;
	@ApiModelProperty(value = "部门树代码 使用“|”串联父级部门id，最后的是当前部门id，如“1|12|”")
	private String	treeCode ;
	@ApiModelProperty(value = "远程引用id")
	private String	remoteReferenceId;


	@ApiModelProperty(value = "姓名首字母缩写")
	private String	nameFirstLetter;
	@ApiModelProperty(value = "名称全拼")
	private String	nameFullPinyin ;
}
